/**
 * This class holds all the modified input line objects by an operation
 * In order for the database recovery system to act every operation performed is logged. And in order to reduce
 * the number of read-write cycles logging is done on to the log buffer and then frequently transfered 
 * to the log disk 
 * A log disk holds the items modified, the operation that modified it and the related transaction.
 */
package edu.cse5311.entity;

/**
 * @author Karthik MG/ Shwetha Narayan
 *
 */
public class LogDisk {
	Operation operation;
	Item item;
	Transaction transaction;
	/**
	 * @return the operation
	 */
	public Operation getOperation() {
		return operation;
	}
	/**
	 * @param operation the operation to set
	 */
	public void setOperation(Operation operation) {
		this.operation = operation;
	}
	/**
	 * @return the item
	 */
	public Item getItem() {
		return item;
	}
	/**
	 * @param item the item to set
	 */
	public void setItem(Item item) {
		this.item = item;
	}
	/**
	 * @return the transaction
	 */
	public Transaction getTransaction() {
		return transaction;
	}
	/**
	 * @param transaction the transaction to set
	 */
	public void setTransaction(Transaction transaction) {
		this.transaction = transaction;
	}
}
